//
//  GSDKComplatformError.m
//  GameSDK
//
//  Created by Johnny on 2017/7/28.
//  Copyright © 2017年 Johnny. All rights reserved.
//

#import "GSDKComplatformError.h"

@implementation GSDKErrorStatus

@end

@implementation GSDKMessageStatus
- (void)encodeWithCoder:(NSCoder *)encoder {
    [encoder encodeObject:self.code forKey:@"code"];
    [encoder encodeObject:self.msg forKey:@"msg"];
}

- (id)initWithCoder:(NSCoder *)decoder {
    self = [super init];
    if (self) {
        self.code = [decoder decodeObjectForKey:@"code"];
        self.msg = [decoder decodeObjectForKey:@"msg"];
    }
    return self;
}
@end
